<!--# layout("/common/layout.html",{"jsBase":"/js/cms/buyHouseSubsidies/"}){ -->


<form class="layui-form " id="updateForm">
    <!--# include("include.html"){} -->
    <!--# include("/cms/common/exemption.html"){} -->

    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">审核意见</label>
        <div class="layui-input-block">
            <textarea id="handlingSuggestion" name="handlingSuggestion" class="layui-textarea" lay-verify="required"></textarea>
        </div>
        <input type="hidden" name="externalTaskId" value="${buyHouseSubsidies.externalTaskId}">

    </div>
    <layui:acceptance id="acceptance"/>

</form>
<!--#} -->
<script>
    layui.use(['edit', 'form'], function () {
        var buyHouseSubsidiesEdit = layui.edit;
        buyHouseSubsidiesEdit.init();
    });

    var form = layui.form;
    $("#declareYear").val("${buyHouseSubsidies.declareYear}");
    form.render("select");

    function terminal() {
        var callback = function () {
            parent.window.dataReload();
            Common.info("终止成功");
            Lib.closeFrame();
        };
        Common.openConfirm("确认终止", function () {
            Lib.submitForm("/cms/buyHouseSubsidies/terminal.json", $('#updateForm'), {}, callback);
        });
    }

    function back() {
        var callback = function () {
            parent.window.dataReload();
            Common.info("退回成功");
            Lib.closeFrame();
        };
        Common.openConfirm("确认退回", function () {
            Lib.submitForm("/cms/buyHouseSubsidies/back.json", $('#updateForm'), {}, callback);
        });
    }


    function pass() {
        var callback = function () {
            parent.window.dataReload();
            Common.info("通过成功");
            Lib.closeFrame();
        };
        Common.openConfirm("确认通过", function () {
            Lib.submitForm("/cms/buyHouseSubsidies/pass.json", $('#updateForm'), {}, callback);
        });
    }


</script>
